package org.langqiao.appproject.俄罗斯方块;

import java.awt.BorderLayout;
import java.awt.GridLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.TitledBorder;

public class Test001 extends JFrame{
	
	public Test001(){
		Clock clock =new Clock();
		Calendar cal = new Calendar();
		JPanel jp2 = new JPanel();
		
		setLocationRelativeTo(null);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(560,300);
		setVisible(true);
		this.setContentPane(clock);
		
		
		this.getContentPane().add(cal,BorderLayout.WEST);
		setResizable(false);
	}
	
	public static void main(String[] args){
		
	try{
	   Test001 frame = new Test001();
	   frame.setTitle("测试");

	}
	catch (Exception e){
		System.out.print("run error!");
		
		
	}
  }
}

